package com.mllweb.blog.data.dao;

import com.mllweb.blog.data.orm.BlogUserValidate;
import org.apache.ibatis.annotations.Param;

/**
 * @Prject: blog-server
 * @Package: com.mllweb.blog.data.dao
 * @author: feejson
 * @date: 2017/9/1 16:06
 * @version: V1.0
 */
public interface BlogUserValidateDao {
    int insert(@Param("validate") BlogUserValidate validate);

    BlogUserValidate selectByUser(@Param("validateUser") String validateUser);

    void updateValidated(@Param("id") int id);
}
